/* 整体页面布局 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* 登录标签页 */
.login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    background-color: #f4f4f4;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tab.active {
    background-color: #007bff;
    color: white;
}

.tab:hover {
    background-color: #e6e6e6;
}

/* 登录内容区域 */
.login-content {
    display: none;
}

.login-content.active {
    display: block;
}

.phone-code-selector {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.phone-code-selector select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.phone-code-selector input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
}

button:hover {
    background-color: #0056b3;
}

#get-code {
    background-color: #f4f4f4;
    color: #333;
    width: auto;
    padding: 10px 20px;
    margin-left: auto;
}

#get-code:hover {
    background-color: #e6e6e6;
}

/* 其他操作 */
.other-actions {
    text-align: center;
    margin-bottom: 20px;
}

.other-actions a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
}

.other-actions span {
    margin-right: 10px;
}

.social-logins button {
    background-color: #f4f4f4;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 0 5px;
}

.social-logins button:hover {
    background-color: #e6e6e6;
}

.social-logins button img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.agreement {
    text-align: center;
    font-size: 14px;
    color: #777;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
}